package com.example.demo.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.bind.annotation.GetMapping;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Setter
@Getter
@Data
public class ChuZhiKa {
    //卡号
//    @ExcelProperty(value = "卡号")
//    private String articleId;
    @ExcelProperty(value = "储值卡类别")
    //储值卡类别
    private String title;
    //卡种
    @ExcelProperty(value = "卡种")
    private String content;
    //有效期自
    @ExcelProperty(value = "有效期自")
    @DateTimeFormat(value ="yyyy-MM-dd")
    private String createTime;
}
